|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfurny.entities.MetaData
@Entity public class MetaData
This class represents the metadata of a furniture. This is a value object that is mapped by hibernate to a relational database.
Field Summary | |
---|---|
private java.lang.String |
description
|
private com.jme3.math.Vector3f |
dimension
|
private long |
id
|
private java.lang.String |
itemNumber
|
private java.lang.String |
name
|
private double |
price
|
private java.util.Set<Tag> |
tags
|
Constructor Summary | |
---|---|
MetaData()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Getter for the description. |
com.jme3.math.Vector3f |
getDimension()
Getter for the dimension (width, height, length). |
java.lang.Float |
getHeight()
Getter for the height in meters. |
long |
getId()
Getter for the id. |
java.lang.String |
getItemNumber()
Getter for the item number. |
java.lang.Float |
getLength()
Getter for the length in meters. |
java.lang.String |
getName()
Getter for the name. |
java.lang.Double |
getPrice()
Getter for the furnitures price. |
java.util.Set<Tag> |
getTags()
Getter for the tags. |
java.lang.Float |
getWidth()
Getter for the width in meters. |
void |
setDescription(java.lang.String description)
Setter for the description. |
void |
setDimension(com.jme3.math.Vector3f dimension)
Setter for the dimension (width, height, length). |
void |
setHeight(java.lang.Float height)
Setter for the height in meters. |
private void |
setId(long id)
Private setter for the id. |
void |
setItemNumber(java.lang.String itemNumber)
Setter for the item number. |
void |
setLength(java.lang.Float length)
Setter for the length in meters. |
void |
setName(java.lang.String name)
Setter for the name. |
void |
setPrice(java.lang.Double price)
Setter for the furnitures price. |
void |
setTags(java.util.Set<Tag> tags)
Setter for the tags. |
void |
setWidth(java.lang.Float width)
Setter for the width in meters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private long id
private java.lang.String name
private java.lang.String description
private java.lang.String itemNumber
private final transient com.jme3.math.Vector3f dimension
private double price
private java.util.Set<Tag> tags
Constructor Detail |
---|
public MetaData()
Method Detail |
---|
public long getId()
private void setId(long id)
id
- The id of the metadata.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The descriptionpublic java.lang.String getItemNumber()
public void setItemNumber(java.lang.String itemNumber)
itemNumber
- The item numberpublic java.lang.Float getWidth()
public void setWidth(java.lang.Float width)
width
- The widthpublic java.lang.Float getHeight()
public void setHeight(java.lang.Float height)
height
- The heightpublic java.lang.Float getLength()
public void setLength(java.lang.Float length)
length
- The lengthpublic java.lang.Double getPrice()
public void setPrice(java.lang.Double price)
price
- The pricepublic com.jme3.math.Vector3f getDimension()
public void setDimension(com.jme3.math.Vector3f dimension)
dimension
- Dimensionpublic java.util.Set<Tag> getTags()
public void setTags(java.util.Set<Tag> tags)
tags
- The tags.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |